package com.lagou.homeWork3.hw4;

public class StudentChange {
    public static void changeStudent(int id,String name, int age,Student student) {
        student.setId(id);
        student.setAge(age);
        student.setName(name);
        System.out.println("修改成功！");
    }
}
